﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkflowTool.Demo
{
    public class MyFilter : IWorkflowFilter
    {

        public void OnWorkflowStartExecuting(IWorflowContext context, WorkflowBase Workflownext, WorkflowBase Workflownow)
        {
            Console.WriteLine("现在"+ Workflownow.Name+ "WorkflowTool执行前过滤器"+"下一位"+ Workflownext?.Name);
        }
        public void OnWorkflowStartExecued(IWorflowContext context, WorkflowBase Workflownext, WorkflowBase Workflownow)
        {
            Console.WriteLine("现在" + Workflownow.Name + "WorkflowTool执行后过滤器" + "下一位" + Workflownext?.Name);
        }
    }
}
